#ifndef __USER_SID36_SERVICE_H__
#define __USER_SID36_SERVICE_H__

#include <stdint.h>
#include "user_uds.h"

#define TRANSFER_DATA_REQ_MIN_LEN   0x03
#define TRANSFER_DATA_RESP_LEN      0x02

#pragma pack(1)
typedef struct
{
	uint8_t sid;
	uint8_t data_block_serial_num;
	uint8_t data_block[CF_FRAMES_LEN];
}transfer_data_req_struct;
#pragma pack()

#pragma pack(1)
typedef struct
{
	uint8_t positive_resp_id;
	uint8_t data_block_serial_num;
}transfer_data_positive_resp_struct;
#pragma pack()

int16_t Transfer_data_Port(uint8_t *rec_buf, uint8_t *rsp_buf, uint16_t rec_len);

#endif
